<?php
session_start();
$_SESSION["islogin"]=true;
$link =mysql_connect('localhost','root','');
if (!$link) {
	die('Not connected : ' . mysql_error());
}
$db_selected = mysql_select_db('seproject', $link);
if (!$db_selected) {
	die ('Cannot useSeproject : ' . mysql_error());
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Wellcome to Charity Organization!</title>
</head>

<body>
<div id="container">
		<div id="header">
			<h1>Charity<span class="off">Organization</span></h1>
        </div>   
        
        <div id="menu">
			<ul>
				<li class="menuitem"><a>Hi,<?php echo $_SESSION["username"];?></a></li>
				<li><a href="userController.php?id=3">Log Out</a></li>
            </ul>
			<ul>
				<li class="menuitem">
					<a>
					<form name="cse" id="searchbox_demo" action="http://www.google.com/cse">
					<input type="hidden" name="cref" value="" />
					<input type="hidden" name="ie" value="utf-8" />
					<input type="hidden" name="hl" value="" />
					<input name="q" type="text" size="40" />
					<input type="submit" name="sa" value="Search" />
					</form>
					<script type="text/javascript" src="http://www.google.com/cse/tools/onthefly?form=searchbox_demo&lang="></script>
					</a>
				</li>
			</ul>
        </div>        
        <div id="leftmenu">

        <div id="leftmenu_top"></div>
		<div id="leftmenu_main">    
				
				<h3></h3>
               
                <ul>
                    <li><a href="EditProfile.php">EditProfile</a></li>
                    <li><a href="EditPass.php">ChangePassword</a></li>
				</ul>
		</div>        
		<div id="leftmenu_bottom"></div>
		<br>
		
		<div id="leftmenu_top"></div>
		
		<div id="leftmenu_main">    
				
                <h3>link</h3>
                        
                <ul>
                    <li><a href="">link?</a></li>
                    
                </ul>
		</div>        
              <div id="leftmenu_bottom"></div>
        </div>
        
		<div id="content">
        <div id="content_top"></div>
        <div id="content_main">
        	<h3>Text</h3>
        	<p>The charity provides supportive,psycho-social and welfare services to the deprived children and their families. Support services include social work, psychology and welfare services. In addition, the charity is responsible for collection of donations and humanitarian assistance from people, institutions and organizations. Fundraising activities include donation boxes, membership schemes, advertising and special projects as well as Public and International Relations that keep rapport with volunteers, donors at national and international level.</p>
        </div>
        <div id="content_bottom"></div>
      </div>
   </div>
</body>
</html>
